<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2016-11-21
 * Time: 13:52
 */

namespace app\src\paypal\action;


use app\src\base\action\BaseAction;
use app\src\order\enum\PayType;
use app\src\order\logic\OrdersPaycodeLogic;
use think\Db;

class PaypalPayingAction extends BaseAction
{

    public function paying($uid,$trade_no,$pay_code,$total,$currency){
        return (new OrdersPaycodeLogic())->paying($uid,$trade_no,$pay_code,$total,$currency,PayType::PAYPAL);
    }
}